IntentReader

constructor(@NonNull activity: @NonNull Activity)(source)

Create an IntentReader for parsing and interpreting the sharing intent used to start the given activity.

Parameters

activity

Activity that was started to share content


constructor(@NonNull context: @NonNull Context, @NonNull intent: @NonNull Intent)(source)

Create an IntentReader for parsing and interpreting the given sharing intent.

Parameters

context

Context that was started to share content

intent

Intent that was used to start the context